// conponent/biaoqian/biaoqian.js
var $ = require('../../utils/js.js');
var image_gy_src = $.image_gy_src;

Component({
  /**
   * 组件的属性列表
   */
  properties: {
    name: {
      type: String,
      value: ''
    },
    iptval: {
      type: String,
      value: ''
    },
    img: {
      type: String,
      value: ''
    },
    isipt: {
      type: Boolean,
      value: true
    },
    isjiant: {
      type: Boolean,
      value: false
    },
    placeholder: {
      type: String,
      value: ''
    },
    color: {
      type: String,
      value: ''
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    image_gy_src: image_gy_src,
  },
  
  /**
   * 组件的方法列表
   */
  methods: {
    ceshi: function() {
      console.log('ceshi')
    },
    jtinput(e) {
      this.setData({
        iptval: e.detail.value
      })
    },
  }
})